#ifndef MENU_H
#define MENU_H

#include <vector>

///header file for class Menu

#include "document.h"

class Menu
{
	///intended use: only one instance
	private:
		std::vector<Document*> *menu_v_ptr;

		enum Menu_options_enum
		{
			INVALID_CHOICE,
			ADD_ORDER,
			///"hatarozat"
			ADD_TENDER,
			///"ajanlatkeres"
			ADD_CLAIM,
			///"panaszos level"
			ADD_BILL,
			///"szamla"
			QUERY_PARTNER,
			///"kerese partnerre"
			QUERY_ISSUE,
			///"kereses ugyszamra"
			QUERY_REF_NO,
			///"kereses iktatoszamra"
			EXIT_AND_SAVE
			///"mentes es kilepes"
		};

		Menu_options_enum get_menu_choice() const throw();

		void do_chosen_menu(const Menu_options_enum &p_menu) throw();

	public:
		Menu(std::vector<Document*> *p_menu_v_ptr) throw();

		~Menu() throw();
		
		void write_main_menu() const throw();

		void add_document(const Document::Document_types &p_type) throw();

		void query_partner() const throw();

		void query_issue_no() const throw();

		void query_ref_no() const throw();

};

#endif
